package com.sophia.common.xmlbean.pojo;

import java.util.List;

import com.sophia.common.xmlbean.util.BaseXMLPojo;

/**
 * 既往史--住院
 * <p>
 * Title:Health
 * </p>
 * <p>
 * HospitalsXMLPojo
 * </p>
 * Alex Apr 13, 2011 10:54:07 PM create
 * 
 * @author <a href='wanghao924@126.com'>Alex</a> QQ: 873987060;
 * @version 1.0
 */
public class HospitalsXMLPojo extends BaseXMLPojo {

	private static final long serialVersionUID = 1L;
    
	/**
	 * 是否住院
	 */
	private WhetherInHosptialXMLPojo whetherInHosptial;
	
	/**
	 * 住院明细信息
	 */
	private List<InhosptialXMLPojo>  inhosptial;
	
	public HospitalsXMLPojo() {

		nodeName = "hospitals";
		nodeList.add(0, "whetherInHosptial");
		nodeList.add(1, "inhosptial");
	}

	public WhetherInHosptialXMLPojo getWhetherInHosptial() {
		return whetherInHosptial;
	}

	public void setWhetherInHosptial(WhetherInHosptialXMLPojo whetherInHosptial) {
		this.whetherInHosptial = whetherInHosptial;
	}

	public List<InhosptialXMLPojo> getInhosptial() {
		return inhosptial;
	}

	public void setInhosptial(List<InhosptialXMLPojo> inhosptial) {
		this.inhosptial = inhosptial;
	}
}
